<script>
  var p = "{$p}";//定义页码
  var class_type = "{$class_type}";
</script>
<php>if($listData){</php>
<table class="table table_list t61">
  <foreach name="listData" item="data">
    <tr>
      <td>
        <input class="select-item" type="checkbox" value="{$data.class_id}" />
      </td>
      <td>{$data.class_id}</td>
      <td>
        <if condition="$data.class_grade">{$data.class_grade}&nbsp;年</if>
      </td>
      <td id="class_name{$data.class_id}">{$data.class_name}</td>
      <td>
        <php>if($data['is_graduation']){</php>
        已毕业
        <php>}else{</php>
        未毕业
        <php>}</php>
      </td>
      <td>{$data.user.email}</td>
      <td>{$data.user.pwd}</td>
      <td>
        <a href="javascript:RestoreClass({$data.class_id},{$data.admin_id},0)">恢复</a>
      </td>
    </tr>
  </foreach>
</table>
<php>}else{</php>
<span>暂无班级</span>
<php>}</php>